﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DevelopStudio.Common.Basic
{
    [Serializable]
    public class StatusEventArgs
    {
        private StatusEventArgs()
        {

        }

        public StatusEventArgs(object oldStatus, object newStatus)
        {
            this.OldStatus = oldStatus;
            this.NewStatus = newStatus;
        }

        public object OldStatus { get; private set; }

        public object NewStatus { get; private set; }
    }

    [Serializable]
    public delegate void StatusChangedEventHandler(object sender, StatusEventArgs e);

    public class AppConst
    {
        public const int LocalRevision = -999999;

        public const string WorkingCopy = "Modified";

        public const string NewAdded = "Added";

        /// <summary>
        /// The file suffix that is recognized by diff tool.
        /// </summary>
        public const string DiffToolFileSuffix = ".dsdiff";

        public const string DSFileDiffInfoFileKey = "DSFileDiffInfoFileKey.xml";
    }
}
